package com.softeem.score.manager.service;

import com.github.pagehelper.PageInfo;
import com.softeem.score.model.dto.TeacherDto;
import com.softeem.score.model.entity.school.Teacher;
import com.softeem.score.model.vo.school.MapVo;
import com.softeem.score.model.vo.school.TeacherVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface TeacherService {

    PageInfo<TeacherVo> findByPage(TeacherDto teacherDto, Integer pageNum, Integer pageSize);

    void saveTeacher(Teacher teacher);

    void updateSysUser(Teacher teacher);

    List<MapVo> findAllTeacher();

    List<MapVo> getAllTeacherByCollegeId(Long collegeId);

    List<MapVo> findTeacherByCourseId(Long courseId);

    void deleteTeacherByTeacherNumber(String teacherNumber);
}
